package api_models

const (
	AscribeContactKey = "ascribe_contact:"
)

type AscribeReportReq struct {
	PackageName string `json:"package_name" validate:"required"`
	AscribeReportBaseReq
}

type AscribeTransformReq struct {
	EvenType string `json:"event_type" validate:"required"`
	AscribeReportBaseReq
}

type AscribeReportBaseReq struct {
	Platform           string `json:"platform" validate:"required"`
	IDFV               string `json:"idfv"` // 仅ios需要
	AndroidId          string `json:"android_id" validate:"required"`
	CustomerActiveTime int64  `json:"customer_active_time"`
	Callback           string `json:"callback"`
	Res                string `json:"res"`
}

type SetAscribeReportCacheReq struct {
	AndroidId string `json:"android_id" validate:"required"`
}
